/* 样式初始化：为了保证所有的浏览器显示是一致的 */
@charset "utf-8";

/* 初始化 */
body,
div,
ul,
li,
ol,
h1,
h2,
h3,
h4,
h5,
h6,
input,
textarea,
select,
p,
dl,
dt,
dd,
a,
img,
button,
form,
table,
th,
tr,
td,
tbody,
article,
aside,
details,
figcaption,
figure,
footer,
header,
menu,
nav,
section {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* 给body添加通用的样式 */
body {
  font: .48rem /* 24/50 *//1.5 'Microsoft YaHei', '宋体', Tahoma, Arial, sans-serif;
  color: #555;
  background-color: #f7f7f7;
}

/*去除边框*/
fieldset,
img,
input,
button,
textarea {
  border: none;
  /*去除的蓝色小边框*/
  outline-style: none;
}

/*禁止表单域缩放*/
textarea {
  resize: none;
}

a {
  text-decoration: none;
  color: #000;
  /* 移动端a标签点击会高亮，设置颜色为透明的 */
  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}

/* 图片自适应 */
img {
  vertical-align: middle;
}

ul,
ol {
  list-style: none;
}

/* 把所有的标题的样式全部重置了 */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: normal;
  font-size: 100%;
}

/* 字体图标  i:icon   bootstrap*/
em,
i {
  font-style: normal;
}

/* 提供了一些公共类 */
.fl {
  float: left;
}

.fr {
  float: right;
}

/*清除浮动*/
.clearfix:before,
.clearfix:after {
  content: '';
  display: table;
}

.clearfix:after {
  clear: both;
}

/*单行溢出*/
.one-txt-cut {
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

/*多行溢出*/
.txt-cut {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}

// 头部区域
.mm-header {
  height: 50/25rem;
  background: #ff841d;
  border-bottom: 1/25rem solid #e6e6e6;
  position: relative;
  .logo {
    padding: 12/25rem;
    width: 75%;
    margin-left: 5/25rem;
    float: left;
    img {
      max-height: 25/25rem;
      overflow: hidden;
    }
  }

  .appdown {
    position: absolute;
    right: 0;
    top: 0;
    padding: 7/25rem;
    img {
      max-height: 34/25rem;
      overflow: hidden;
    }
  }
}
// 搜索区域
.mm-search{
  padding: .4rem /* 20/50 */;
  background-color: #fff;
  position: relative;
  padding-right: 3.2rem /* 160/50 */;
    input{
      width: 100%;
      height:1.2rem /* 60/50 */;
      line-height: 1.2rem /* 60/50 */;
      background-color: #f1f1f1;
      border-radius: .6rem /* 30/50 */;
      font-size: .52rem /* 26/50 */;
      padding-left: .8rem /* 40/50 */;
    }
    button{
      width: 2.52rem /* 126/50 */;
      position: absolute;
      right: .4rem /* 20/50 */;
      top: 50%;
      transform: translateY(-50%);
      background: #ff841d;
      color:#fff;
      border-radius: .6rem /* 30/50 */;
      font-size: .64rem /* 32/50 */;
      height: 1.2rem /* 60/50 */;
      line-height: 1.2rem /* 60/50 */;
    }
}
// 底部区域
.mm-footer{
  margin-top: 1rem /* 50/50 */;
  background-color: #efefef;
  ul{
    border-bottom: .04rem /* 2/50 */ solid #c4c4c4;
    border-top: .04rem /* 2/50 */ solid #c4c4c4;
    li{
      height: 1.36rem /* 68/50 */;
      line-height: 1.36rem /* 68/50 */;
      float: left;
      width: 30%;
      font-size: .56rem /* 28/50 */;
      text-align: center;
      &:nth-child(2){
        border-right: .04rem /* 2/50 */ solid #c4c4c4;
        border-left: .04rem /* 2/50 */ solid #c4c4c4;
      }
      &:nth-child(3){
        width: 40%;
        img{
          margin-top: -0.2rem /* 10/50 */;
        }
      }
    }
  }
  .footer {
    text-align: center;
    padding: .6rem /* 30/50 */ 0;
    color: #666;
    background: #efefef;
  }
}

